package de.ret_world.openrpgstudio.engine.artemis.components;

import com.artemis.Component;
import de.ret_world.openrpgstudio.editor.script.Point;

/**
 *
 * @author Emu
 */
public class Location extends Component {
    private String mapID;
    private String layerID;
    private Point point;

    public Location(String mapID, String layerID, Point point) {
        this.mapID = mapID;
        this.layerID = layerID;
        this.point = point;
    }

    public String getLayerID() {
        return layerID;
    }

    public void setLayerID(String layerID) {
        this.layerID = layerID;
    }

    public String getMapID() {
        return mapID;
    }

    public void setMapID(String mapID) {
        this.mapID = mapID;
    }

    public Point getPoint() {
        return point;
    }

    public void setPoint(Point point) {
        this.point = point;
    }

    @Override
    public String toString() {
        return "[Loc: "+mapID+"|"+layerID+"|"+point+"]";
    }
    
}
